# _*_ coding: UTF-8 _*_
# @Time     : 2021/11/5 16:19
# @Author   : Gong Yangyi
# @Site     : http://www.hzdledu.cn/
# @File     : 12.py
# @Software : PyCharm

def f(x, y=[]):
    for i in range(x):
        y.append(i * i)
    print(y)


f(3, [3, 2, 1])


def foo(a, b):
    print(a, b)
    a = 3
    b = 4
    print(a, b)


a = 1
b = 2
foo(a, b)
print(a, b)

x='a b c d'
print(",".join(x.split()))